﻿@using BlazorAppDemo.Components.Layout

@layout ErrorLayout
@page "/404"
<style>
    .panel {
        /* backdrop-filter: blur(20px); */
        /* color: #000;*/
        box-shadow: 0 0 30px 10px rgba(0, 0, 0, .6);
        background-color: #ffffffc2;
        height: 528px;
    }
</style>
<MudPaper Elevation="3" Class="pa-1 panel">
    <MudStack Row=false>
        <MudImage Src="/image/404.png" />
        <MudButton Color="Color.Warning" Variant="Variant.Filled" style="width:140px;height:60px;align-self:center;margin-top:-120px;border-radius: 30px;" OnClick="@GetHome"><MudText Typo="Typo.h6">回到主页</MudText></MudButton>
    </MudStack>
</MudPaper>
@code {
    void GetHome() => Navigation.NavigateTo("/");
}